﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace OnlineManagement.Web.userControl
{
   
    public partial class UCFaQingSettings :BaseSowUserControl
    {

        protected int hoggeryId = 0;
        protected Guid _sowId;
        protected void Page_Load(object sender, EventArgs e)
        {
           if(!Page.IsPostBack){
               hoggeryId = HoggeryID;
               _sowId = SowID;
               if(hoggeryId==0){
                   return;
               }
               lbBitID.Text = BitID;
               lbPigpenName.Text = PigPenName;
               lbSowType.Text = SowTypeName;
               if (PropagateStateOrder != Order)
               {
                   Response.Redirect("SowOperations.aspx");
               }
           }
        }

    }
}